package com.wl.application.feign.impl;

import com.wl.application.feign.api.SentinelService;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author wl
 * @version 1.0
 * @date 2022/7/28
 * @description:
 */
@Service
public class SentinelServiceImpl implements SentinelService {
    @Override
    public String serverText1() {
        return "出现异常，返回兜底数据";
    }

    @Override
    public String serverText2() {
        return "出现异常，返回兜底数据";
    }

    @Override
    public String serverText3( Integer a) {
        return "出现异常，返回兜底数据a="+a;
    }

    @Override
    public String serverText4( Integer a, Integer b) {
        return "出现异常，返回兜底数据";
    }

    @Override
    public String serverText5() {
        return "出现异常，返回兜底数据";
    }
}
